package com.project;

public class CRL implements IEat {
    private IEat eat;

    public CRL(IEat eat) {
        this.eat = eat;
    }



    @Override
    public void eat() {
        System.out.println("订餐");

        eat.eat();

        System.out.println("开发票");
    }
}
